//
//  EBTalk.h
//  ENTBoostLib
//
//  Created by zhong zf on 14-9-4.
//  Copyright (c) 2014年 entboost. All rights reserved.
//

#import <Foundation/Foundation.h>

@class TBTalk;

@interface EBTalk : NSObject

@property (nonatomic, strong) NSString * talkId; //对话归类编号
@property (nonatomic) uint64_t currentCallId; //当前会话编号
@property (nonatomic) uint64_t depCode; //部门或群组编号
@property (nonatomic, strong) NSString * depName; //部门或群组名称
@property (nonatomic, strong) NSString * otherAccount; //对方用户账号(只用于一对一会话)
@property (nonatomic) uint64_t otherUid; //对方用户编号(只用于一对一会话)
@property (nonatomic, strong) NSString * otherUserName; //对方用户名(只用于一对一会话)
@property (nonatomic, strong) NSDate * updatedTime; //更新时间

- (id)initWithTBTalk:(TBTalk*)tbTalk;

///可对话状态是否已就绪
- (BOOL)isReady;

///是否群组对话
- (BOOL)isGroup;

@end
